package com.excesys.exsecs.energy.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.excesys.exsecs.energy.entity.RegModel;
import com.excesys.exsecs.energy.mapper.RegModelMapper;
import com.excesys.exsecs.energy.service.RegModelService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 能耗设备类型注册表，只有注册过的类型才能在能耗系统中显示
 *
 * @author lxc
 * @date 2024-02-20 17:02:07
 */
@Service
@RequiredArgsConstructor
public class RegModelServiceImpl extends ServiceImpl<RegModelMapper, RegModel> implements RegModelService {

	@Override
	public Page<RegModel> queryPage(Page page, RegModel regModel) {
		return this.baseMapper.queryPage(page, regModel);
	}
}